//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.standard.service;

public class CountResult {
    private Double score;

    public CountResult(Double score) {
        this.score = score;
    }

    public Double getScore() {
        return this.score;
    }

    public CountResult setScore(final Double score) {
        this.score = score;
        return this;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof CountResult)) {
            return false;
        } else {
            CountResult other = (CountResult)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$score = this.getScore();
                Object other$score = other.getScore();
                if (this$score == null) {
                    if (other$score != null) {
                        return false;
                    }
                } else if (!this$score.equals(other$score)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof CountResult;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $score = this.getScore();
        int result1 = result * 59 + ($score == null ? 43 : $score.hashCode());
        return result1;
    }

    public String toString() {
        return "CountResult(score=" + this.getScore() + ")";
    }
}
